Bug 437533 – Implement draw_shape PangoRenderer method
authorBehdad Esfahbod <behdad@gnome.org>
Fri, 27 Mar 2009 16:54:10 +0000 (16:54 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Fri, 27 Mar 2009 16:54:10 +0000 (16:54 +0000)
commitd21f55fe9add35bb708d260841ce047c2458a7ca
tree5e7b0e3907401ef66ffaca471f78b1d253a0d17b
parent4d520f241d45ba8fedad21325caad8ab5a182e9f
Bug 437533 – Implement draw_shape PangoRenderer method

2009-03-27  Behdad Esfahbod  <behdad@gnome.org>

        Bug 437533 – Implement draw_shape PangoRenderer method

        * gdk/gdkpango.c (gdk_pango_renderer_draw_shape),
        (gdk_pango_renderer_class_init): Implement draw_shape

        * demos/gtk-demo/rotated_text.c (fancy_shape_renderer),
        (create_fancy_attr_list_for_layout), (rotated_text_expose_event),
        (do_rotated_text):
        1) Port to pangocairo
        2) Also show a rotated label
        3) Install a custom shape renderer on both.  The second one goes
        through gdkpango and hence tests the patch above.  It's working.

svn path=/trunk/; revision=22592
ChangeLog
demos/gtk-demo/rotated_text.c
gdk/gdkpango.c